import request from '@/utils/request'

// 查询数据来源关系列表
export function listBiSourceLevelDwd(query) {
  return request({
    url: '/marketing/BiSourceLevelDwd/list',
    method: 'get',
    params: query
  })
}

// 查询数据来源关系详细
export function getBiSourceLevelDwd(id) {
  return request({
    url: '/marketing/BiSourceLevelDwd/' + id,
    method: 'get'
  })
}

// 新增数据来源关系
export function addBiSourceLevelDwd(data) {
  return request({
    url: '/marketing/BiSourceLevelDwd',
    method: 'post',
    data: data
  })
}

// 修改数据来源关系
export function updateBiSourceLevelDwd(data) {
  return request({
    url: '/marketing/BiSourceLevelDwd',
    method: 'put',
    data: data
  })
}

// 删除数据来源关系
export function delBiSourceLevelDwd(id) {
  return request({
    url: '/marketing/BiSourceLevelDwd/' + id,
    method: 'delete'
  })
}
